package com.ln.property_control.service;

import com.ln.property_control.pojo.ClaimVo;
import com.ln.property_control.pojo.Department;
import com.ln.property_control.pojo.PropertyVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ClaimService {

    Map<String,Object> findAllByBorrow(Integer page, Integer limit);

    ClaimVo selectByBorrowNumber(String borrowNumber);

    List<Department> departmentByParentId (int parentId);

    String insertByClaim(ClaimVo claimVo);

    List<PropertyVo>findAllByProperty(PropertyVo propertyVo);
    int saveByClaim(ClaimVo claimVo);
    //归还
    Map<String,Object>findAllByStatus(Integer page, Integer limit,String status);
    //提报历史
    Map<String,Object>findAllByHistory(Integer page, Integer limit,String status);

    List<PropertyVo>findAllBypropertyVo();

    String insertByDepProMidd(String claim_id ,List<String> property_id);

    List<PropertyVo>findByProperId(String property_dep_id);

    List<ClaimVo>findByProClaimID(String borrowNumber);

}
